package com.song.service;

import com.song.mapper.FileMapper;
import com.song.pojo.UploadFile;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FileServiceImpl implements FileService{

    @Autowired
    FileMapper fileMapper;


    @Override
    public void addFile(UploadFile uploadFile) {
        fileMapper.addFile(uploadFile);
    }

    @Override
    public UploadFile findByUuid(String uuid) {
        return fileMapper.findByUuid(uuid);
    }


}
